package com.solo.eggsolo.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.solo.eggsolo.entity.Singer;
import com.solo.eggsolo.mapper.SingerMapper;
import com.solo.eggsolo.service.SingerService;

/**
 * 
 * @author acer
 *
 */

@Service
@Transactional(rollbackFor = Exception.class)
public class SingerServiceImpl extends BaseServiceImpl<Singer> implements SingerService {
	@Autowired
	private SingerMapper singerMapper;

	@Override
	public List<Singer> findByName(String singerName) {
		return singerMapper.findByName(singerName);
	}
}
